.q-confirm-box {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 2000;
    .q-confirm-mask {
        background: #000;
        opacity: 0.5;
        width: 100%;
        height: 100%;
    }

    .q-confirm-main {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 300px;
        padding: 10px;
        background: rgb(255, 255, 255);
        border-radius: 4px;
        font-size: 15px;
        .title {
            i {
                font-size: 18px;
            }
            .icon {
                transform: translateY(3px);
            }
        }

        .message {
            padding: 10px 0;
        }

        button {
            margin: 5px;
            padding: 5px 8px;
            border: solid 1px @primary;
            background: @primary;
            cursor: pointer;
            font-size: 12px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            &:first-child {
                background: #fff;
            }

            &[disabled='true'] {
                cursor: no-drop;
            }

            i {
                font-size: 14px;
                margin-right: 2px;
                display: block;
                transform: rotateZ(0);
                &.animate {
                    animation: rotate 12s infinite linear;
                }
            }

        }
    }

    .btns {
        text-align: right;
        display: flex;
        justify-content: flex-end;
    }


    opacity: 0;

}

@keyframes rotate-z-button {
    from {
        transform: rotateZ(0);
    }

    to {
        transform: rotateZ(360deg);
    }
}

@keyframes confirm-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes confirm-fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.q-confirm-fade-in {
    animation: confirm-fade-in 0.5s;
    opacity: 1;
}

.q-confirm-fade-out {
    animation: confirm-fade-out 0.3s;
    opacity: 0;
}